build: Fix gtk_tools array expansion
authorEmmanuele Bassi <ebassi@gnome.org>
Fri, 20 Oct 2017 10:22:45 +0000 (11:22 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 20 Oct 2017 10:22:45 +0000 (11:22 +0100)
The gtk_tools variable is an array of arrays; adding a new element
requires to maintain the same type, or we'll get a build failure when
we try to extract the newly added element.

gtk/meson.build

index 23c15eaa111519ec3cd397b8e73fde04759d8b9c..da95435a846818a7f04dc629e8c8f965c1dc0277 100644 (file)
@@ -1027,7 +1027,7 @@ gtk_tools = [
 ]
 
 if os_unix
-  gtk_tools += ['gtk4-launch', ['gtk-launch.c']]
+  gtk_tools += [['gtk4-launch', ['gtk-launch.c']]]
 endif
 
 foreach tool: gtk_tools